<template>
	<view class="mine">
		<view class="info">
			<view class="left">
				<view class="name">
					用户
				</view>
				<view class="welcome">
					欢迎光临四海香
				</view>
			</view>
			<view class="right">
				<image src="../../static/image/images/14.png" mode=""></image>
			</view>
		</view>
		<view class="history">
			<view class="left">
				<image src="../../static/image/images/icon_order.png" mode=""></image>
				<view class="text">
					烹饪历史
				</view>
			</view>
		</view>
		<view class="history">
			<view class="left">
				<image src="../../static/image/images/icon_money.png" mode=""></image>
				<view class="text">
					支付记录
				</view>
			</view>
		</view>
		<navigator url='' class="history" @click="navigate">
			<view class="left">
				<image src="../../static/image/images/icon_msg.png" mode=""></image>
				<view class="text">
					举报投诉
				</view>
			</view>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return{
				
			}
		},
		methods:{
			navigate(){
				wx.navigateTo({
					url:'../complaint/complaint'
				})
				console.log(11)
			}
		}
	}
</script>

<style lang="scss">
	.mine {
		margin: 0 9px;
	}
	.info {
		display: flex;
		justify-content: space-between;
		
	}
	.left .welcome {
		color: #ccc;
	}
	.right image{
		width: 40px;
		height: 40px;
	}
	.history {
		display: flex;
		justify-content: space-between;
		margin-top: 8px;
		box-shadow: 0 0 5px 1px #ccc;
		height: 33px;
	}
	.history .left {
		display: flex;
		align-items: center;
	}
	.history .left image {
		height: 20px;
		width: 20px;
		margin: 0 6px;
	}
</style>
